﻿using System;

namespace OAuth.Providers.ETrade.Model
{

    public class Quote
    {

        public string Symbol { get; set; }
        public string SymbolDescription { get; set; }

        public bool AdjNonAdjFlag { get; set; }
        public string DirLast { get; set; }

        public double Eps { get; set; }
        public double EstEarnings { get; set; }
        public string ExDivDate { get; set; }
        public string ExchgLastTrade { get; set; }
        public string Fsi { get; set; }

        public string CompanyName { get; set; }

        public DateTime LastQuote { get; set; }

        public double LastTrade { get; set; }

        public double AnnualDividend { get; set; }
        public double Dividend { get; set; }

        public double Ask { get; set; }
        public int AskSize { get; set; }
        public DateTime AskTime { get; set; }
        public string AskExchange { get; set; }

        public double Bid { get; set; }
        public int BidSize { get; set; }
        public DateTime BidTime { get; set; }
        public string BidExchange { get; set; }

        public double High { get; set; }
        public double High52 { get; set; }
        public double HighAsk { get; set; }
        public double HighBid { get; set; }

        public double Low { get; set; }
        public double Low52 { get; set; }
        public double LowAsk { get; set; }
        public double LowBid { get; set; }

        public double ChangeClose { get; set; }
        public double ChangeClosePercent { get; set; }

        public int DayToExpiration { get; set; }

        public int NumTrades { get; set; }
        public double Open { get; set; }
        public double PreviousClose { get; set; }
        public int PreviousDayVolume { get; set; }
        public double OpenInterest { get; set; }
        public string OptionStyle { get; set; }
        public string OptionUnderlier { get; set; }
        public string PrimaryExchange { get; set; }
        public double TodayClose { get; set; }
        public double Upc { get; set; }
        public int TotalVolume { get; set; }
        public int Volume10Day { get; set; }

        public DateTime LastUpdate { get; private set; }

        public Quote()
        {
            LastUpdate = DateTime.Now;
        }

    }

}